OUT=prohash
CC=gcc
CFLAGS=-Wall -g #-D_ENABLE_DEBUG_
SRC=graph.c debug.c subgraphoverlay.c hashgraph.c randgraph.c main.c motifsearch.c motif.c
LINK=-lm
OBJ=$(SRC:.c=.o)

all: prohash

prohash: $(OBJ)
	$(CC)$(CLFAGS) $(OBJ) -o$(OUT) $(LINK)

%.c:%.)o
	$(CC) $(CFLAGS) -c %< -o $@

clean: 
	-rm $(OBJ)

